#pragma once
#include "shape.h"

class cylinder : public shape
{
private:
	double r;
	double h;
public:
	cylinder(void);
	cylinder(double r, double h);
	cylinder(std::string id, double r, double h);
	double volume();
	double area();
	void print();
	~cylinder(void);

	friend ostream &operator<<(ostream &stream, cylinder &o);
	friend istream &operator>>(istream &stream, cylinder &o);
};

